package main

import "fmt"

type Student struct {
	Name string
	Age int
}

func (s *Student) growup () {
	s.Age++
} 

func (s *Student) rename (newName string) {
	s.Name = newName
} 

func main() {
	var stu Student = Student{"Adam", 17}
	fmt.Println(stu)
	stu.growup()
	fmt.Println(stu)
	stu.rename("Bob")
	fmt.Println(stu)
}
